sys_version=$(lsb_release -a 2>/dev/null | grep 'Description' | awk -F '[:]+' '{print $2}' | sed 's/[^0-9.]//g')
if [[ "$sys_version" =~ ^22\..*$ ]]
then
  echo "i have simplescreenrecorder"
else
  echo y | sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
  echo y | sudo apt update
fi
echo y | sudo apt-get install simplescreenrecorder
